package com.shop.cereshop.app.dl.logic.service;

import com.shop.cereshop.app.dl.logic.domain.CereShopAnnouncement;

import java.util.List;

/**
 * @author: 况鑫威
 * @Date: 2021/7/22
 * @Time: 16:13
 * @ClassName: CereShopAnnouncementService
 * @Description: com.shop.cereshop.app.dl.logic.service
 */
public interface CereShopAnnouncementService {
    int deleteByPrimaryKey(Long announcementId);

    int insert(CereShopAnnouncement record);

    int insertSelective(CereShopAnnouncement record);

    CereShopAnnouncement selectByPrimaryKey(Long announcementId);

    int updateByPrimaryKeySelective(CereShopAnnouncement record);

    int updateByPrimaryKey(CereShopAnnouncement record);

    List<CereShopAnnouncement> getAnnouncements(String announcementType);
}
